<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="header.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>各平台预约会议情况</title>
<script type="text/javascript">
$(function() {
	var startdate = "<c:out value="${startdate}" />";
	if(startdate != '') {
		$('#startdate').val(startdate);
		$('#tableDiv').removeClass('hide');
	}
});
</script>
</head>
<body>
<div class="container ">
<h1>各平台预约会议情况(云会议、MMP、TC)</h1>
<hr>
<form action="query" method="post" class="inline">
	<label for="startdate">查询日期</label>
	<input name="startdate" id="startdate" class="Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
	<input type="submit" value="查询"/>
</form>
<div id="tableDiv" class="hide">
<table class="test-1" border="0" cellspacing="0" cellpadding="0">
<thead>
	<tr>
		<th class="span-1">时间</th>
		<th class="span-4">MMP</th>
		<th class="span-4">TC</th>
		<th class="span-4 last">云会议</th>
	</tr>
</thead>
<c:forEach var="conference" items="${conferenceList }">
<tr>
	<td>${conference.time}:00</td>
	<td>
		<c:forEach var="mmpConference" items="${conference.mmpConference }">
			<div class="span-4 colborder">
				${mmpConference.customName },
				<c:out value="${fn:substring(mmpConference.beginTime, 8, 10) }"></c:out>:
				<c:out value="${fn:substring(mmpConference.beginTime, 10, 12) }"></c:out>
			</div>
		</c:forEach>
	</td>
	<td>
		<c:forEach var="tcConference" items="${conference.tcConference }">
			<div class="span-4 colborder">
				${tcConference.customName },
				<c:out value="${fn:substring(tcConference.beginTime, 11, 16) }"></c:out>
			</div>
		</c:forEach>
	</td>
	<td>
		<c:forEach var="yunConference" items="${conference.yunConference }">
			<div class="span-4 colborder">
				${yunConference.customName }, 
				<c:out value="${fn:substring(yunConference.beginTime, 11, 16) }"></c:out>
			</div>
		</c:forEach>
	</td>
</tr>
</c:forEach>
</table>
</div>
</div>
</body>
</html>